﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
// add
//using System.IO;

namespace FormBase
{
    public partial class FActionLog : Form
    {
        //CProject mProject = Program.gProject;

        public FActionLog()
        {
            InitializeComponent();
        }

        private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
        {
            textBox1.Text = CProject.mAction.MessageLog;
        }

        private void FDebugLog_Load(object sender, EventArgs e)
        {
            Text = "Action Log";

            textBox1.Text = CProject.mAction.MessageLog;
        }

        private void copyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Clipboard.SetText(textBox1.Text);
        }

        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CProject.mAction.SaveLog();
        }

    }
}
